<?php namespace AlexBurcow\Fayna\Updates;

use Schema;
use October\Rain\Database\Updates\Migration;

class BuilderTableCreateAlexburcowFaynaRastenie extends Migration
{
    public function up()
    {
        Schema::create('alexburcow_fayna_rastenie', function($table)
        {
            $table->engine = 'InnoDB';
            $table->integer('id');
            $table->text('vnakichii');
            $table->text('nazvanie');
            $table->text('pervishopisnaie');
            $table->text('zena');
            $table->text('kartinka1');
            $table->text('kartinka2');
            $table->text('kartinka3');
            $table->text('kartinka4');
            $table->text('kartinka6');
            $table->text('kartinka7');
            $table->text('maxrazmer');
            $table->text('temp');
            $table->text('chustkosi');
            $table->text('kislotnosti');
            $table->text('opisanie');
        });
    }
    
    public function down()
    {
        Schema::dropIfExists('alexburcow_fayna_rastenie');
    }
}
